-- GENERATED SPELL FOR [Taretha] --


function spell0_18887(pUnit, Event) --@Shadow Spike,Self--
pUnit:FullCastSpellOnTarget(33125,pUnit)
pUnit:RegisterEvent('Sorts_18887', 655, 1)
end

function Sorts_18887(pUnit, Event)
local choix_sorts_18887 = math.random(0, 0)
if choix_sorts_18887 == 0 then
pUnit:RegisterEvent('spell0_18887', 1, 1)
end
end

function mob18887_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18887', math.random(1500, 3000), 1)
end

function mob18887_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18887_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18887_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18887, 1, 'mob18887_Action')
RegisterUnitEvent(18887, 2, 'mob18887_Leave')
RegisterUnitEvent(18887, 3, 'mob18887_Kill')
RegisterUnitEvent(18887, 4, 'mob18887_Die')
